package com.bigflexlib.async
{
	import mx.rpc.AsyncToken;
	import mx.rpc.IResponder;

	public class AsyncTokenDeferred extends Deferred implements IResponder
	{
		public function AsyncTokenDeferred(token:AsyncToken)
		{
			super();
			token.addResponder(this);
		}

		public function result(info:Object):void
		{
			super.callback(info);
		}

		public function fault(info:Object):void
		{
			super.errback(info);
		}

	}
}